
package com.ami.kvm.isocaching;

import com.ami.kvm.jviewer.Debug;
import java.io.IOException;
import java.io.RandomAccessFile;

public class ISOReader {
	public byte[] readSectorData(RandomAccessFile paramRandomAccessFile, long paramLong, int paramInt)
			throws IOException {
		byte[] arrayOfByte = null;
		if (paramRandomAccessFile != null) {
			arrayOfByte = new byte[2048 * paramInt];
			try {
				paramRandomAccessFile.seek(2048L * paramLong);
				paramRandomAccessFile.read(arrayOfByte);
			} catch (Exception localException) {
				Debug.out.println(localException);
			}
		}
		return arrayOfByte;
	}
}

